import { StackNavigator } from 'react-navigation'

import CommonDetail from './detail/CommonDetail'
import AssetLiabilityDetail from './detail/AssetLiabilityDetail'
import ProfitDetail from './detail/ProfitDetail'
import DuBang from './detail/ratioAnalysis/DuBang'
import RatioCommonDetail from './detail/ratioAnalysis/RatioCommonDetail'

import CashFlowDetail from './detail/CashFlowDetail'

export const AssetLiabilityStack = StackNavigator({
  AssetLiabilityDetail: {
    screen: AssetLiabilityDetail
  },
  CommonDetail: {
    screen: CommonDetail
  }
})

export const ProfitStack = StackNavigator({
  ProfitDetail: {
    screen: ProfitDetail
  },
  CommonDetail: {
    screen: CommonDetail
  }
})

export const CashFlowStack = StackNavigator({
  CashFlowDetail: {
    screen: CashFlowDetail
  },
  CommonDetail: {
    screen: CommonDetail
  }
})

export const RateAnalyzeStack = StackNavigator({
  DuBang: {
    screen: DuBang
  }
})

export const RateAnalyzeCommonStack = StackNavigator({
  CommonPage: {
    screen: RatioCommonDetail
  }
})
